package com.xbongbong.paas.pojo.workflow.settings;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @author 吴峰
 * @date 2021/05/17 15:08
 */
@Getter
@Setter
@ToString
public class WorkflowActionPoJo implements Serializable {
    private static final long serialVersionUID = -7416712360319282748L;

    private String title;

    /**
     * @see com.xbongbong.workflow.enums.WorkflowActionEnum
     */
    private Integer type;

    private List<WorkflowNodeListPoJo> nodeList;

    public WorkflowActionPoJo() {
    }

    public WorkflowActionPoJo(String title, Integer type, List<WorkflowNodeListPoJo> nodeList) {
        this.title = title;
        this.type = type;
        this.nodeList = nodeList;
    }
}
